From 2f7f40357b5f68b0bb278d72c82bf4f4fa0aede7 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Tue, 8 May 2007 10:21:23 +0100 Subject: [PATCH] xend hvm: Fix 'monitor=1' handling in domain config file. Fix wrong python list assignment for "monitor=1". The old assignment only works when using qemu-dm.debug in configure file. Signed-off-by: You YongKang Signed-off-by: Zhang Xin --- tools/python/xen/xend/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index d1ea10fe0c..bec78012e0 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -418,7 +418,7 @@ class HVMImageHandler(ImageHandler): ret.append('-nographic') if int(vmConfig['platform'].get('monitor', 0)) != 0: - ret.append('-monitor vc') + ret = ret + ['-monitor', 'vc'] return ret def createDeviceModel(self, restore = False): -- 2.30.2